package com.bear.newsset.holder;

import androidx.annotation.NonNull;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.bear.newsset.R;
import com.bear.newsset.adapter.BaseViewHolder;

public class OptionHolder extends BaseViewHolder {
    private ImageView img;
    private TextView title;
    private TextView content;
    public OptionHolder(@NonNull View itemView) {
        super(itemView);
        img = itemView.findViewById(R.id.item_opt_iv_img);
        title = itemView.findViewById(R.id.item_opt_tv_title);
        content = itemView.findViewById(R.id.item_opt_tv_content);
    }

    public ImageView getImg() {
        return img;
    }

    public TextView getTitle() {
        return title;
    }

    public TextView getContent() {
        return content;
    }
}
